package com.linhaijing.productor.server;

import java.io.IOException;

/**
 * @author linhaijing
 * @date 2020/12/31 18:08
 **/
public interface Server {

    public void stop();

    public void start() throws IOException;

    public void register(Class serviceInterface, Class impl);

    public boolean isRunning();

    public int getPort();
}
